﻿@model Fcom.VNInsurance.Web.Models.ProductLang
@{
    ViewBag.Title = Model.DisplayName;
    Fcom.VNInsurance.Web.Models.clInfo clinfo=null;
    if (Session["clInfo"] != null)
    {
        clinfo = (Fcom.VNInsurance.Web.Models.clInfo)Session["clInfo"];
    }
    var LangCat = (Fcom.VNInsurance.Web.Models.ProductCatLang)ViewBag.LangCat;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="container">
  <img alt="VNBaoHiem"  src="@Url.Content("~/Content/images/ProductBaner/"+Model.Product.ProductBaner)" style="height:200px;width:100%" class="img-responsive"/>
</div>

<div class="container">
    <div class="row" style="margin-bottom:10px">
            <div class="col-lg-6">
                 <ul class="breadcrumb" style="margin-bottom:0px !important">
                      <li><a href="@Url.Action("Index","Home")">@Fcom.VNInsurance.Web.LangResource.Layout.lblHome</a></li>
                      <li><a href="@Url.Action("ProductCat", "Product", new {pCat=@LangCat.CatID})">@LangCat.DisplayName</a></li>
                      <li class="active">@Model.DisplayName</li>
                   </ul>
            </div>
            <div class="col-lg-6"> 
                 <div class="wizard-steps" >
                   @if (clinfo == null)
                   {
                       <div class="active-step"><a href="@Url.Action("ProductDetail", "Product", new { pID=@Model.ProductID,title=Model.DisplayName.Replace(" ","-")})"><span>1</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblYourInfo</a></div>
                         <div class="#"><a href="#"><span>2</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblCompareText</a></div>
                  
                   }
                    else
                   { 
                  <div class="completed-step"><a href="@Url.Action("ProductDetail", "Product", new { pID=@Model.ProductID,title=Model.DisplayName.Replace(" ","-"),step="1"})"><span>1</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblYourInfo</a></div>
                  <div class="active-step"><a href="@Url.Action("Compare", "Product", new { pID=@Model.ProductID,title=Model.DisplayName.Replace(" ","-")})"><span>2</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblCompareText</a></div>
                   }
                   <div><a href="#"><span>3</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblPolicy</a></div>
                  <div><a href="#"><span>4</span> @Fcom.VNInsurance.Web.LangResource.Layout.lblPayment</a></div>
                 </div>
            </div>
    </div>
    <div class="row" style="padding-bottom:10px;">
        <div class="col-lg-6" style="padding-left:10px">
            <form method="post" action="@Url.Action("SaveInfo","Product")">
              <fieldset>
                  <input type="hidden" name="ProductID" value="@Model.ProductID" />
                <legend ><img alt="VNBaoHiem"  src="@Url.Content("~/Content/images/n1.png")" class="img-responsive" style="margin-top:-6px;"/> @Fcom.VNInsurance.Web.LangResource.Layout.lblYourInfo</legend>
                  @if(clinfo==null)
                  {
                  <div class="form-group">
                  <label for="yourfullname">@Fcom.VNInsurance.Web.LangResource.Layout.lblFullname</label>
                
                  <input type="text" class="form-control" name="yourfullname" id="yourfullname" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterFullname"/>
                </div>
                <div class="form-group">
                  <label for="yourphone">@Fcom.VNInsurance.Web.LangResource.Layout.lblYourPhone</label>
                  <input type="text" class="form-control" name="yourphone" id="yourphone" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterYourPhone"/>
                </div>
               <div class="form-group">
                  <label for="youremail">@Fcom.VNInsurance.Web.LangResource.Layout.lblEmail</label>
                  <input type="text" class="form-control" name="youremail" id="youremail" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterYourEmail"/>
                </div>
                  }
                  else
                  {
                    <div class="form-group">
                      <label for="yourfullname">@Fcom.VNInsurance.Web.LangResource.Layout.lblFullname</label>
                
                      <input type="text" class="form-control" name="yourfullname" value="@clinfo.yourfullname" id="yourfullname" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterFullname"/>
                    </div>
                    <div class="form-group">
                      <label for="yourphone">@Fcom.VNInsurance.Web.LangResource.Layout.lblYourPhone</label>
                      <input type="text" class="form-control" name="yourphone" value="@clinfo.yourphone" id="yourphone" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterYourPhone"/>
                    </div>
                   <div class="form-group">
                      <label for="youremail">@Fcom.VNInsurance.Web.LangResource.Layout.lblEmail</label>
                      <input type="text" class="form-control" name="youremail" value="@clinfo.youremail" id="youremail" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterYourEmail"/>
                    </div>  
                  }
                  <div class="checkbox">
                  <label>
                    @Fcom.VNInsurance.Web.LangResource.Layout.lblAgreeterm    <button type="submit" class="btn btn-success" style="float:right">@Fcom.VNInsurance.Web.LangResource.Layout.lblContinute</button>
                  </label>
                </div>
                
              </fieldset>
            </form>
        </div>
        <div class="col-lg-1">
         </div>
        <div class="col-lg-4">
            
             <div class="container" style="padding-left:10px">
                   <form>
              <fieldset>
                <legend>@Fcom.VNInsurance.Web.LangResource.Layout.lblIfhaveAccount</legend>
               
                <div class="form-group">
                  <label for="username">@Fcom.VNInsurance.Web.LangResource.Layout.lblUserID</label>
                  <input type="text" class="form-control" id="username" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterUserID"/>
                </div>
               <div class="form-group">
                  <label for="password">@Fcom.VNInsurance.Web.LangResource.Layout.lblPassword</label>
                  <input type="password" class="form-control" id="password" placeholder="@Fcom.VNInsurance.Web.LangResource.Layout.lblEnterPassword"/>
                </div>
                  <div class="checkbox">
                  <label>    
                    <a href="#">@Fcom.VNInsurance.Web.LangResource.Layout.lblAccountPage</a><button type="submit" class="btn btn-default" style="float:right">@Fcom.VNInsurance.Web.LangResource.Layout.lblLoginContinute</button>
                  </label>
                </div>
                
              </fieldset>
            </form>
               </div>
             
        </div>
        <div class="col-lg-1">
         </div>
    </div>
</div>
<div class="container">
    <div class="panel">
                <div class="panel-heading"><b>@Model.DisplayName</b></div>
                
                    @Html.Raw(HttpUtility.HtmlDecode(Model.DisplayIntro))
     </div>
</div>
